package com.mida.dms.knw.service;

import com.mida.dms.knw.entity.vo.KnwConceptualVo;
import com.mida.dms.knw.vo.KnwConceptualPageVo;
import com.mida.dms.knw.vo.PageResultVo;
import com.mida.tool.common.result.ActionResult;
import com.mida.tool.common.result.ListResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface KnwConceptualService {

    ActionResult add(KnwConceptualVo knwConceptualVo);

    ActionResult update(KnwConceptualVo knwConceptual);

    ActionResult delete(long soid);

    ListResult<KnwConceptualVo> get(long soid);

    ListResult<PageResultVo<KnwConceptualVo>> findPage(KnwConceptualPageVo vo);

    ListResult<List<KnwConceptualVo>> findAll(String searChData, Long conceptType);

    ActionResult checkName(String name);

    ActionResult updateStatus(Long status, Long conceptualSoid);

    /**
     * 值集批量上传处理
     * @param file
     * @return
     */
    ActionResult uploadFile(MultipartFile file) throws Exception;
}
